﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Factory.MasterData.Materials
{
    /// <summary>
    /// 物料表
    /// </summary>
    public class Material : Entity<int>
    {
        /// <summary>
        /// 物料编码
        /// </summary>
        [StringLength(50)]
        public string MaterialCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        [StringLength(50)]
        public string MaterialName { get; set; }
        /// <summary>
        /// 物料型号
        /// </summary>
        [StringLength(50)]
        public string MaterialTypeCode { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        [StringLength(50)]
        public string Unit { get; set; }
        /// <summary>
        /// 物料产品分类
        /// </summary>
        public int MaterialClassificationId { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int IsNo { get; set; }
        /// <summary>
        /// 批次管理
        /// </summary>
        public int BatchManagement { get; set; }
        /// <summary>
        /// 安全库存
        /// </summary>
        public int SafetyStock { get; set; }
        /// <summary>
        /// 最小库存数量
        /// </summary>
        public int MinStockLevel { get; set; }
        /// <summary>
        /// 最大库存数量
        /// </summary>
        public int MaxStockLevel { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(200)]
        public string Remark { get; set; }

    }
}
